#pragma once

class SocketIO{
private:
    int _fd;
public:
    SocketIO(int fd);
    ~SocketIO();
    int readn(char *buf, int len);
    int writen(const char *buf, int len);
    int readLine(char *buf, int len);
};